home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
print
/
rpload.exe
/
README
next >
Wrap
Text File
|
1991-07-24
|
2KB
|
56 lines
INSTRUCTIONS FOR USING REMOTE.BAT
---------------------------------
Files included in this self-extracting zip file:
README (This file)
REMOTE.BAT (Batch file for loading RPRINTER.EXE upon boot-up)
SLEEP.EXE (Program that introduces a timed pause into a batch
file -- used by REMOTE.BAT)
These programs are hereby dedicated to the public domain and may be
used in any manner, so long as credit is given to the original author.
To make sure that RPRINTER is loaded whenever a workstation is booted,
copy RPRINTER.EXE, REMOTE.BAT, and SLEEP.EXE into your network's
LOGIN subdirectory.
Place the following command in the workstation's AUTOEXEC.BAT file,
AFTER the default drive/directory has been set to the LOGIN sub-
directory and BEFORE the LOGIN command has been issued:
CALL REMOTE <pserver_name> <printer_no.>
If your DOS version is prior to 3.3, use the following command, instead:
COMMAND /C REMOTE <pserver_name> <printer_no.>
Substitute your own network's, print server name in place of <pserver_
name> and the remote printer number in place of <printer_no.>.
HOW IT WORKS
------------
REMOTE.BAT loads RPRINTER and checks the ERRORLEVEL returned. If
ERRORLEVEL is not 1, then RPRINTER has loaded successfully and the
batch file returns to the calling program (autoexec.bat).
If ERRORLEVEL is set to 1, a 5-second pause is initiated by using the
SLEEP program. Then RPRINTER is unloaded with the -R option. Another
5-second wait is introduced and we loop back to the beginning of the
batch file to load RPRINTER, again. This time, ERRORLEVEL SHOULD NOT
BE = 1.
If this doesn't work, experiment with the SLEEP command by introducing
longer delays.
SLEEP may be used in other batch files where a timed delay is desired.
Type SLEEP ? to see the usage of the command.
Submitted by: David Truncale
Circle Productions, Inc.
CIS# 73770,3454
7/24/91